#ifndef H_CRITICAL_20071013
#define H_CRITICAL_20071013

#define MUTEX_INIT(M)		pthread_mutex_init(&(M), NULL)
#define MUTEX_CLEAR(M)		pthread_mutex_destroy (&(M))
#define MUTEX_LOCK(M)		pthread_mutex_lock (&(M))
#define MUTEX_UNLOCK(M)		pthread_mutex_unlock (&(M))

int mutex_create_all (void);


void mutex_del_all (void);
















#endif

